package com.xuecheng.media.service;

import com.xuecheng.media.model.po.MediaProcess;

import java.util.List;

public interface MediaFileProcessService {
    /**
     * @deprecated 获取待处理任务
     * @param shardIndex 分片序号
     * @param shardTotal 分片总数
     * @param count 获取记录数
     * @return
     */
    public List<MediaProcess> getMediaProcessList(int shardIndex,int shardTotal,int count);

    public boolean startTask(long id);

    public void saveProcessFinishStatus(Long taskId,String status,String fileId,String url,String errorMsg);
}
